//
//  NewspaperTitleCell.m
//  JianChaRiBao
//
//  Created by 常兴宇 on 13-10-30.
//  Copyright (c) 2013年 wzyk. All rights reserved.
//

#import "NewspaperTitleCell.h"

@implementation NewspaperTitleCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)updateDisplay{
    
    versionLabel.text = [NSString stringWithFormat:@"第%@版",[self.baseInfo objectForKey:@"page_number"]];
    titleLabel.text = [self.baseInfo objectForKey:@"page_name"];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)dealloc {
    [versionLabel release];
    [titleLabel release];
    [super dealloc];
}
@end
